package com.icinfo.cloud.provider.punish.ucase.casemain.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 描述：保存的附件信息对象
 *
 * @author sunjiefei
 * @date 2023/4/6
 */
@Data
@NoArgsConstructor
public class CaseStageAppendixSaveDto {
    /**
     * 保存的附件信息
     */
    @Valid
    private List<AppendixRecordDto> data;

    /**
     * 案件id
     */
    @NotEmpty(message = "案件id不能为空")
    private String caseId;

    /**
     * 案件阶段code
     */
    @NotEmpty(message = "案件阶段code不能为空")
    private String caseStageCode;

    /**
     * 案件阶段名称
     */
    @NotEmpty(message = "案件阶段名称不能为空")
    private String caseStageName;
}
